package Bean;

import java.util.List;

import ui.model.BaseBean;

public class ProductBean {

    /**
     * data : {"item":{"actDeadline":1546185600000,"actDescription":"商户6个月刷满30万系统每台返还188元","detail":"13","expressCost":0,"gmtCreate":1540985962000,"gmtModified":1541066058000,"id":56,"imgPath":"https://rylm-pos-oss.oss-cn-hangzhou.aliyuncs.com/image/2018-10-31-7006a202-4cb6-47fa-b54d-98ffb876b026.png","isSell":"1","model":"电签款（无签购单）","name":"电签款（无签购单","number":1,"price":12,"returnAmount":188,"sellImgPath":"https://rylm-pos-oss.oss-cn-hangzhou.aliyuncs.com/image/2018-10-31-9cef62a5-090b-4c63-9322-039f5c79f646.png","sellName":"畅捷送传统POS | 1台（不参与活动政策）","version":"2"}}
     * msg : success
     * result : 00000000
     */

    private DataBean data;
    private String msg;
    private String result;

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String getResult() {
        return result;
    }

    public void setResult(String result) {
        this.result = result;
    }

    public static class DataBean {
        /**
         * item : {"actDeadline":1546185600000,"actDescription":"商户6个月刷满30万系统每台返还188元","detail":"13","expressCost":0,"gmtCreate":1540985962000,"gmtModified":1541066058000,"id":56,"imgPath":"https://rylm-pos-oss.oss-cn-hangzhou.aliyuncs.com/image/2018-10-31-7006a202-4cb6-47fa-b54d-98ffb876b026.png","isSell":"1","model":"电签款（无签购单）","name":"电签款（无签购单","number":1,"price":12,"returnAmount":188,"sellImgPath":"https://rylm-pos-oss.oss-cn-hangzhou.aliyuncs.com/image/2018-10-31-9cef62a5-090b-4c63-9322-039f5c79f646.png","sellName":"畅捷送传统POS | 1台（不参与活动政策）","version":"2"}
         */
        private ItemBean item;
        private List<RulesBean> rules;

        public ItemBean getItem() {
            return item;
        }

        public void setItem(ItemBean item) {
            this.item = item;
        }

        public List<RulesBean> getRules() {
            return rules;
        }

        public void setRules(List<RulesBean> rules) {
            this.rules = rules;
        }

        public static class ItemBean extends BaseBean {
            /**
             * actDeadline : 1546185600000
             * actDescription : 商户6个月刷满30万系统每台返还188元
             * detail : 13
             * expressCost : 0
             * gmtCreate : 1540985962000
             * gmtModified : 1541066058000
             * id : 56
             * imgPath : https://rylm-pos-oss.oss-cn-hangzhou.aliyuncs.com/image/2018-10-31-7006a202-4cb6-47fa-b54d-98ffb876b026.png
             * isSell : 1
             * model : 电签款（无签购单）
             * name : 电签款（无签购单
             * number : 1
             * price : 12
             * returnAmount : 188
             * sellImgPath : https://rylm-pos-oss.oss-cn-hangzhou.aliyuncs.com/image/2018-10-31-9cef62a5-090b-4c63-9322-039f5c79f646.png
             * sellName : 畅捷送传统POS | 1台（不参与活动政策）
             * version : 2
             */

            private String activeDesc;
            private String afterActivation;
            private String backDesc;
            private int delFlag;
            private String categoryId;
            private String freezeDesc;
            private String merchantDeposit;
            private String singleShipPurchase;
            private int sort;
            private long actDeadline;
            private String actDescription;
            private String actTimeDesc;
            private String detail;
            private String expressCost;
            private long gmtCreate;
            private long gmtModified;
            private String id;
            private String imgPath;
            private String isSell;
            private String model;
            private String name;
            private int number;
            private double price;
            private String returnAmount;
            private String sellImgPath;
            private String sellName;
            private String untilDay;
            private String version;
            private  String description;

            public String getDescription() {
                return returnInfo(description);
            }

            public void setDescription(String description) {
                this.description = description;
            }

            public String getCategoryId() {
                return returnInfo(categoryId);
            }

            public void setCategoryId(String categoryId) {
                this.categoryId = categoryId;
            }

            public String getActiveDesc() {
                return returnInfo(activeDesc);
            }

            public void setActiveDesc(String activeDesc) {
                this.activeDesc = activeDesc;
            }

            public String getAfterActivation() {
                return returnInfo(afterActivation);
            }

            public void setAfterActivation(String afterActivation) {
                this.afterActivation = afterActivation;
            }

            public String getBackDesc() {
                return returnInfo(backDesc);
            }

            public void setBackDesc(String backDesc) {
                this.backDesc = backDesc;
            }

            public int getDelFlag() {
                return delFlag;
            }

            public void setDelFlag(int delFlag) {
                this.delFlag = delFlag;
            }

            public String getFreezeDesc() {
                return returnInfo(freezeDesc);
            }

            public void setFreezeDesc(String freezeDesc) {
                this.freezeDesc = freezeDesc;
            }

            public String getMerchantDeposit() {
                return returnInfo(merchantDeposit);
            }

            public void setMerchantDeposit(String merchantDeposit) {
                this.merchantDeposit = merchantDeposit;
            }

            public String getSingleShipPurchase() {
                return returnInfo(singleShipPurchase);
            }

            public void setSingleShipPurchase(String singleShipPurchase) {
                this.singleShipPurchase = singleShipPurchase;
            }

            public int getSort() {
                return sort;
            }

            public void setSort(int sort) {
                this.sort = sort;
            }

            public String getActTimeDesc() {
                return returnInfo(actTimeDesc);
            }

            public void setActTimeDesc(String actTimeDesc) {
                this.actTimeDesc = actTimeDesc;
            }

            public String getUntilDay() {
                return returnInfo(untilDay);
            }

            public void setUntilDay(String untilDay) {
                this.untilDay = untilDay;
            }

            public long getActDeadline() {
                return actDeadline;
            }

            public void setActDeadline(long actDeadline) {
                this.actDeadline = actDeadline;
            }

            public String getActDescription() {
                return returnInfo(actDescription);
            }

            public void setActDescription(String actDescription) {
                this.actDescription = actDescription;
            }

            public String getDetail() {
                return returnInfo(detail);
            }

            public void setDetail(String detail) {
                this.detail = detail;
            }

            public String getExpressCost() {
                return returnInfo(expressCost);
            }

            public void setExpressCost(String expressCost) {
                this.expressCost = expressCost;
            }

            public long getGmtCreate() {
                return gmtCreate;
            }

            public void setGmtCreate(long gmtCreate) {
                this.gmtCreate = gmtCreate;
            }

            public long getGmtModified() {
                return gmtModified;
            }

            public void setGmtModified(long gmtModified) {
                this.gmtModified = gmtModified;
            }

            public String getId() {
                return returnInfo(id);
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getImgPath() {
                return returnInfo(imgPath);
            }

            public void setImgPath(String imgPath) {
                this.imgPath = imgPath;
            }

            public String getIsSell() {
                return returnInfo(isSell);
            }

            public void setIsSell(String isSell) {
                this.isSell = isSell;
            }

            public String getModel() {
                return returnInfo(model);
            }

            public void setModel(String model) {
                this.model = model;
            }

            public String getName() {
                return returnInfo(name);
            }

            public void setName(String name) {
                this.name = name;
            }

            public int getNumber() {
                return number;
            }

            public void setNumber(int number) {
                this.number = number;
            }

            public double getPrice() {
                return price;
            }

            public void setPrice(double price) {
                this.price = price;
            }

            public String getReturnAmount() {
                return returnInfo(returnAmount);
            }

            public void setReturnAmount(String returnAmount) {
                this.returnAmount = returnAmount;
            }

            public String getSellImgPath() {
                return returnInfo(sellImgPath);
            }

            public void setSellImgPath(String sellImgPath) {
                this.sellImgPath = sellImgPath;
            }

            public String getSellName() {
                return returnInfo(sellName);
            }

            public void setSellName(String sellName) {
                this.sellName = sellName;
            }

            public String getVersion() {
                return returnInfo(version);
            }

            public void setVersion(String version) {
                this.version = version;
            }
        }


        public static class RulesBean extends BaseBean {
            /**
             * expireTime : 60
             * id : 1
             * maxCount : 50
             * minCount : 0
             * modelId : 17
             * sort : 1
             * type : 1
             */

            private int expireTime;
            private int id;
            private int maxCount;
            private int minCount;
            private int modelId;
            private String sort;
            private int type;

            public int getExpireTime() {
                return expireTime;
            }

            public void setExpireTime(int expireTime) {
                this.expireTime = expireTime;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public int getMaxCount() {
                return maxCount;
            }

            public void setMaxCount(int maxCount) {
                this.maxCount = maxCount;
            }

            public int getMinCount() {
                return minCount;
            }

            public void setMinCount(int minCount) {
                this.minCount = minCount;
            }

            public int getModelId() {
                return modelId;
            }

            public void setModelId(int modelId) {
                this.modelId = modelId;
            }

            public String getSort() {
                return sort;
            }

            public void setSort(String sort) {
                this.sort = sort;
            }

            public int getType() {
                return type;
            }

            public void setType(int type) {
                this.type = type;
            }
        }


    }
}
